:root{--primary:#6e48aa;--secondary:#9d50bb;--success:#70ca63;--warning:#f6bb42;--danger:#e9573f;--dark:#434a54;--light:#f5f7fa;--text:#656d78}*{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif}body{background-color:#f0f2f5;color:var(--text);line-height:1.6}.container{max-width:1200px;margin:0 auto;padding:20px}header{text-align:center;margin-bottom:30px;padding:20px 0;background:linear-gradient(135deg,#6e48aa 0%,#9d50bb 100%);color:#fff;border-radius:10px;box-shadow:0 4px 6px rgb(0 0 0 / .1)}h1{font-size:2.5rem;margin-bottom:10px}.subtitle{font-size:1.1rem;opacity:.9}.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:25px;margin-top:30px}.tool-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 6px rgb(0 0 0 / .1);transition:transform 0.3s ease,box-shadow 0.3s ease}.tool-card:hover{transform:translateY(-5px);box-shadow:0 10px 20px rgb(0 0 0 / .1)}.tool-header{padding:15px 20px;background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%);color:#fff;display:flex;align-items:center}.tool-icon{font-size:1.5rem;margin-right:15px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgb(255 255 255 / .2);border-radius:50%}.tool-title{font-size:1.2rem;font-weight:600}.tool-body{padding:20px}.tool-desc{margin-bottom:15px;font-size:.9rem;color:var(--text)}.tool-input{margin-bottom:15px}.input-group{margin-bottom:10px}label{display:block;margin-bottom:5px;font-size:.9rem;font-weight:500}input,select{width:100%;padding:10px;border:1px solid #ddd;border-radius:5px;font-size:.9rem}button{background:var(--primary);color:#fff;border:none;padding:10px 15px;border-radius:5px;cursor:pointer;font-size:.9rem;transition:background 0.3s;width:100%}button:hover{background:#3a6fc9}.tool-result{margin-top:15px;padding:15px;background:#f8f9fa;border-radius:5px;display:none}.result-title{font-weight:600;margin-bottom:5px}.result-value{font-size:1.1rem;font-weight:700;margin-bottom:10px}.result-category{display:inline-block;padding:3px 8px;border-radius:3px;font-size:.8rem;font-weight:600;color:#fff}.result-tips{margin-top:10px;font-size:.85rem;font-style:italic}.bmi-normal{background-color:var(--success)}.bmi-overweight{background-color:var(--warning)}.bmi-obese{background-color:var(--danger)}.bmi-underweight{background-color:var(--secondary)}.bp-normal{background-color:var(--success)}.bp-elevated{background-color:var(--warning)}.bp-hypertension1{background-color:#f2711c}.bp-hypertension2{background-color:var(--danger)}.bp-hypotension{background-color:var(--secondary)}.risk-low{background-color:var(--success)}.risk-moderate{background-color:var(--warning)}.risk-high{background-color:var(--danger)}.oxygen-normal{background-color:var(--success)}.oxygen-low{background-color:var(--warning)}.oxygen-critical{background-color:var(--danger)}.timer-display{font-size:1.5rem;text-align:center;margin:10px 0;font-weight:700}.timer-buttons{display:flex;gap:10px}.timer-buttons button{flex:1}.game-container{text-align:center}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0}.game-card{height:50px;background:#ddd;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:5px;font-weight:700}.game-card.flipped{background:var(--primary);color:#fff}.game-score{margin-top:10px;font-weight:700}@media (max-width:768px){.tools-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}@media (max-width:480px){h1{font-size:2rem}.tools-grid{grid-template-columns:1fr}}.container1{max-width:1200px;margin:0 auto;padding:20px}header{text-align:center;margin-bottom:40px;animation:fadeIn 1s ease-in-out;background:linear-gradient(135deg,#6e48aa 0%,#9d50bb 100%)}h1{font-size:2.5rem;color:#fff;margin-bottom:10px}.subtitle{font-size:1.2rem;color:#fff;margin-bottom:20px}.search-container{max-width:600px;margin:0 auto 30px;position:relative}#tool-search{width:100%;padding:12px 20px;border:2px solid #ddd;border-radius:50px;font-size:1rem;transition:all 0.3s}#tool-search:focus{border-color:var(--accent);outline:none;box-shadow:0 0 10px rgb(79 195 247 / .3)}.search-icon{position:absolute;right:20px;top:50%;transform:translateY(-50%);color:#aaa}.tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:25px}.tool-card{background:#fff;border-radius:10px;box-shadow:0 5px 15px rgb(0 0 0 / .1);overflow:hidden;transition:transform 0.3s,box-shadow 0.3s;display:flex;flex-direction:column}.tool-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px rgb(0 0 0 / .15)}.tool-header{padding:20px;background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;display:flex;align-items:center}.tool-icon{font-size:2rem;margin-right:15px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:rgb(255 255 255 / .2);border-radius:50%}.tool-title{font-size:1.3rem;font-weight:600}.tool-body{padding:20px;flex-grow:1;display:flex;flex-direction:column}.tool-description{margin-bottom:15px;color:#555}.tool-form{margin-top:auto}.form-group{margin-bottom:15px}label{display:block;margin-bottom:5px;font-weight:500;color:#444}input,select,textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:5px;font-size:1rem}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:none}.range-container{display:flex;align-items:center;gap:10px}.range-value{min-width:30px;text-align:center}button{background:var(--primary);color:#fff;border:none;padding:12px 20px;border-radius:5px;cursor:pointer;font-size:1rem;font-weight:500;transition:background 0.3s;width:100%;margin-top:10px}button:hover{background:var(--secondary)}.tool-results{display:none;padding:20px;background:#f8f9fa;border-top:1px solid #eee;animation:fadeIn 0.5s ease-in-out}.result-title{font-size:1.2rem;color:var(--secondary);margin-bottom:10px;font-weight:600}.result-value{font-size:1.5rem;font-weight:700;margin-bottom:10px;color:var(--dark)}.result-message{margin-bottom:15px;padding:10px;border-radius:5px}.low-risk{background-color:rgb(40 167 69 / .1);border-left:4px solid var(--success)}.medium-risk{background-color:rgb(255 193 7 / .1);border-left:4px solid var(--warning)}.high-risk{background-color:rgb(220 53 69 / .1);border-left:4px solid var(--danger)}.result-tips{margin-top:15px;padding:10px;background:rgb(79 195 247 / .1);border-left:4px solid var(--accent);border-radius:0 5px 5px 0}.tips-title{font-weight:600;margin-bottom:5px;color:var(--info)}.reset-btn{background:#6c757d;margin-top:15px}.reset-btn:hover{background:#5a6268}.hidden{display:none}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@media (max-width:768px){.tools-grid{grid-template-columns:1fr}h1{font-size:2rem}.tool-card{max-width:100%}}.brain-tool .tool-header{background:linear-gradient(135deg,#6a3093,#a044ff)}.heart-tool .tool-header{background:linear-gradient(135deg,#eb3349,#f45c43)}.lung-tool .tool-header{background:linear-gradient(135deg,#0072ff,#00c6ff)}.liver-tool .tool-header{background:linear-gradient(135deg,#1d976c,#93f9b9)}.kidney-tool .tool-header{background:linear-gradient(135deg,#614385,#516395)}.stomach-tool .tool-header{background:linear-gradient(135deg,#ff512f,#dd2476)}.intestine-tool .tool-header{background:linear-gradient(135deg,#f46b45,#eea849)}.colon-tool .tool-header{background:linear-gradient(135deg,#4776e6,#8e54e9)}.skin-tool .tool-header{background:linear-gradient(135deg,#ff758c,#ff7eb3)}.pancreas-tool .tool-header{background:linear-gradient(135deg,#f857a6,#ff5858)}.bladder-tool .tool-header{background:linear-gradient(135deg,#00b4db,#0083b0)}.spleen-tool .tool-header{background:linear-gradient(135deg,#a8ff78,#78ffd6)}footer{background:var(--primary);color:#fff;padding:3rem 0 1rem;margin-top:3rem}.footer-container{display:flex;flex-wrap:wrap;gap:2rem;margin-bottom:2rem;justify-content:space-between}.footer-column{flex:1 1 200px;min-width:250px;padding:0 15px;margin-bottom:1.5rem}.footer-column h3{font-size:clamp(1.1rem, 3vw, 1.3rem);margin-bottom:1.2rem;position:relative;padding-bottom:.5rem}.footer-column h3::after{content:'';position:absolute;left:0;bottom:0;width:40px;height:2px;background:#fff;transition:var(--transition)}.footer-column ul{list-style:none}.footer-column ul li{margin-bottom:.6rem}.footer-column ul li a{color:#dfe6e9;text-decoration:none;transition:var(--transition);font-size:clamp(0.85rem, 2.5vw, 0.95rem)}.footer-column ul li a:hover{color:#fff;padding-left:5px}.footer-column p{color:#dfe6e9;margin-bottom:1rem;font-size:clamp(0.85rem, 2.5vw, 0.95rem)}.footer-bottom{text-align:center;padding-top:1.5rem;border-top:1px solid rgb(255 255 255 / .1)}.footer-bottom p{font-size:clamp(0.9rem, 2.5vw, 1rem)}.social-links{display:flex;gap:.8rem;margin-top:1rem}.social-links a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;background:rgb(255 255 255 / .2);border-radius:50%;color:#fff;transition:var(--transition);font-size:1rem}.social-links a:hover{background:#fff;color:var(--primary-color);transform:translateY(-3px)}.scroll-to-top{position:fixed;bottom:20px;right:20px;width:45px;height:45px;background:var(--primary-color);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:var(--transition);z-index:999;border:none;outline:none}.scroll-to-top.active{opacity:1;visibility:visible}.scroll-to-top:hover{background:var(--secondary-color);transform:translateY(-3px)}.menu-toggle{display:none;cursor:pointer;font-size:1.5rem;color:#fff;z-index:1000}@media (max-width:992px){.nav-links{position:fixed;top:70px;left:-100%;width:100%;height:calc(100vh - 70px);background:var(--nav-color);flex-direction:column;align-items:center;justify-content:flex-start;padding-top:2rem;transition:var(--transition);z-index:999}.nav-links.active{left:0}.nav-links li{margin:1.5rem 0;margin-left:0}.menu-toggle{display:block}.nav-buttons{margin-left:auto;margin-right:15px}}@media (max-width:576px){.footer-column{min-width:100%}}.logo-below-footer{width:100%;text-align:center;padding:0 15px;cursor:pointer}.logo-below-footer img{width:100%;height:100%;transition:var(--transition);object-fit:cover}.logo-below-footer img:hover{transform:translateY(-5px)}@media (max-width:768px){.logo-below-footer{margin:1.5rem 0}.logo-below-footer img{max-width:350px}}@media (max-width:480px){.logo-below-footer{margin:1rem 0}.logo-below-footer img{max-width:280px}}@media (max-width:350px){.logo-below-footer img{max-width:220px}}@media (min-width:992px){.logo-below-footer img{width:400px;height:100px}}@media (max-width:768px){.logo-below-footer img{width:350px;height:90px}}@media (max-width:400px){.logo-below-footer img{width:280px;height:70px}}@media (max-width:300px){.logo-below-footer img{width:220px;height:55px}}